<?php $this->render("theader.php");?>
<?php if ($this->plan != 'en'){?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
            <div class="meet_edit_l_top">
            	<div class="f14 name f_l">欢迎您，<?php echo $this->uinfo['name'];?></div>
          		<a href="<?php echo $this->baseUrl . '/?a=logout&gourl=' . urlencode($this->fullUrl . '/' . $this->minfo['domain']);?>" class="login_out f_r head_bg">注销</a>              
              <div class="clear"></div>
              <?php $arr_status = array('未提交', "待审核", "通过审核", "未通过审核", "最终确认");?>
              <div class=""><span class="c_gray6">状态：</span><span class="c_ora_red"><?php echo $arr_status[$this->ischeck];?></span></div>
            </div>
            
            <div class="meet_edit_l_nav">
            	<ul>
            		<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=pwd';?>">修改密码</a></li>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=puinfo';?>" >修改会议平台统一身份认证信息</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=muinfo';?>">填写/修改会议注册信息</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile';?>" class="selected">上传文件管理</a></li>
                </ul>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
        
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['name'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
          <div class="minheight">
            <h2 class="h2_title">文件列表</h2>
            
            <div class="list_content" style=" min-height:200px;">
            	<ul class="file_list_ul">
            	
            	<?php foreach($this->list as $v){
            		$filename = pathinfo($v['filename'], PATHINFO_BASENAME);
            		$rurl = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'];
            		$durl = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile&fid=' . $v['fid'];
            	echo <<<EOT
                	<li>
                        <span class="icon_all title">【{$v['item']['name']}】<a target="_blank" href="{$this->baseUrl}{$v['filename']}" title="{$filename}">{$filename}</a></span>
                        <span class="del"><a href="{$durl}" title="删除" class="li_btn"> 删 除 </a></span>
                        <span class="f_r re_btn"><a href="{$rurl}" title="重新提交" class="li_btn">重新提交</a></span>
                        <div class="clear"></div>
                    </li>
EOT;
}?>
                </ul>
                
                <div class=" clear"></div>
            </div>
          </div>
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>


</body>
</html>




<?php }else{?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
            <div class="meet_edit_l_top">
            	<div class="f14 name f_l">Welcome，<?php echo $this->uinfo['name'];?></div>
          		<a href="<?php echo $this->baseUrl . '/?a=logout&gourl=' . urlencode($this->fullUrl . '/' . $this->minfo['domain'] . '?lan=en');?>" class="login_out f_r head_bg">Logout</a>              
              <div class="clear"></div>
              <?php $arr_status = array('To Be Submitted', "To Be Verified", "Already Verified", "Not Passed", "Finally Confirmed");?>
              <div class=""><span class="c_gray6">Status：</span><span class="c_ora_red"><?php echo $arr_status[$this->ischeck];?></span></div>
            </div>
            
            <div class="meet_edit_l_nav">
            	<ul>
            		<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=pwd';?>">Modify Password</a></li>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=puinfo';?>">Modify Unified Identity Information of Platform</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=muinfo';?>">Fill in / Modify Conference Registration Information</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile';?>"  class="selected">Uploaded File(s)</a></li>
                </ul>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
        
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['enname'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
          <div class="minheight">
            <h2 class="h2_title">File List</h2>
            
            <div class="list_content" style=" min-height:200px;">
            	<ul class="file_list_ul">
            	
            	<?php foreach($this->list as $v){
            		$filename = pathinfo($v['filename'], PATHINFO_BASENAME);
            		$rurl = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'];
            		$durl = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile&fid=' . $v['fid'];
            	echo <<<EOT
                	<li>
                        <span class="icon_all title">【{$v['item']['enname']}】<a href="{$this->baseUrl}{$v['filename']}" title="{$filename}">{$filename}</a></span>
                        <span class="del"><a href="{$durl}" title="Remove" class="li_btn"> Remove </a></span>
                        <span class="f_r re_btn"><a href="{$rurl}" title="Re-submit" class="li_btn">Re-submit</a></span>
                        <div class="clear"></div>
                    </li>
EOT;
}?>
                </ul>
                
                <div class=" clear"></div>
            </div>
          </div>  
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>


</body>
</html>
<?php }?>
